/*  header-comment
/*  file   : /Users/arida/react-hrm-h5/src/actions/preview/index
/*  author : arida
/*  date   : 2017-6-4 18:27:38
/*  last   : 2017-8-1 13:27:44
*/
import fetch from "../../utils/fetch.js";
// import { get } from "../../utils/db";

export { fetchUser } from "../welcome/";

export { fetchAllFields } from "../steps/getUser";

export { fetchUser as getProfile } from "../growth/index";

export const inviteEmp = userId =>
  fetch("/hrmregister/mobile/confirm/invitePerfectInfo", {
    body: {
      userId
    },
    meta: {
      dipId: 65483
    }
  });
export const deleteEmp = userId =>
  fetch("/hrmregister/mobile/confirm/deleteEmployee", {
    body: {
      userId
    },
    meta: {
      dipId: 65485
    }
  });
